﻿using System;

namespace DevOnServer
{
    public static class CTime
    {
        public static int system()
        {
            return Environment.TickCount;
        }

        public static int seconds()
        {
            return (int)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds;
        }
    }
}